Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

303
Vistas
(Retool) Make a ".txt" file to GCS but I got the error "Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded."

On Retool, I'm trying to make a ".txt" file with some words to Google Cloud Storage(GCS) but I got this error.

enter image description here

makeTXTFile: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

This is the query settings on Retool to make a ".txt" file to GCS:

enter image description here

Action type and Content-Type:

enter image description here

Upload file name:

enter image description here

Upload data:

enter image description here

Lemon
Banana
Pineapple

And I want the ".txt" file with a fruit name in each row as below:

enter image description here

Are there any ways to make the ".txt" file from Retool to GCS without the error?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You need to encode the string in Base64 with "btoa()" method and the string needs to have "\n" for line break:

enter image description here

{{ btoa("Lemon\nBanana\nPineapple") }}

Then, you can make the ".txt" file with a fruit name in each row:

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda